<div class="modal-content" ng-controller="NewNoticemCtrl">
    <div class="modal-header">
        <button type="button" class="close" ng-click="myopen.opt_close()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
        <h3 class="modal-title text-center">
            <samll>
                <span ng-if="!notice_id">编辑</span>
                <span ng-if="notice_id">新增</span> 通知
            </samll>
        </h3>
    </div>

    <!--  dsds -->

    <form class="form-horizontal ng-pristine ng-valid ng-scope">
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">通知标题</label>
            <div class="col-sm-9">
                <input ng-model="Noticem_data.title" type="text" class="form-control" id="inputEmail3" placeholder="通知标题" maxlength="70">
            </div>
        </div>
        <div class="row">&nbsp;</div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">通知摘要</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="inputEmail3" placeholder="通知摘要" ng-model="Noticem_data.summary" maxlength="100">
            </div>
        </div>
        <div class="row">&nbsp;</div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">通知正文</label>
            <div class="col-sm-9">
                <summernote id="summernote" config="options" lang="zh-CN" editable="editable" editor="editor" ng-model="Noticem_data.content"></summernote>
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">发布时间</label>
            <div class="col-sm-2">
                <label class="custom-radio">
                     <input type="radio" ng-checked="Noticem_data.timely"  ng-click="Noticem_data.timely=true">
                    <span>即时发布</span>
                </label>
            </div>
            <div class="col-sm-2">
                <label class="custom-radio">
                     <input type="radio" ng-checked="!Noticem_data.timely" ng-click="Noticem_data.timely=false">
                    <span>定时发布</span>
                </label>
            </div>
            <div class="col-sm-5">
                <input ng-show="Noticem_data.timely==false" type="datetime-local" class="form-control" id="dat3" value="{{new_d}}" ng-model="new_d">
            </div>
        </div>
        <div class="row">
            <div class="col-sm-2 col-sm-offset-2">
                <label class="custom-checkbox">
                    <input type="checkbox" ng-checked="Noticem_data.push" ng-click="Push_f()"> 
                    <span>发送推送消息</span>
                </label>
            </div>
        </div>
    </form>
    <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="Submit()">完成</button>
    </div>
    <input type="file" id="asd1" ng-file-select1="onFileSelect($files)" style="display: none;">
</div>